<%@page import="com.skeleton.utils.SystemConstants"%>
<%@page import="com.skeleton.db.dto.UserinfoDto"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	UserinfoDto ud = (UserinfoDto)session.getAttribute(SystemConstants.LOGINUSER_SESSION_NAME);
%>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>Insert title here</title>
	<link href="<%=request.getContextPath() %>/resource/css/blog/ske-blog-index.css" rel="stylesheet" type="text/css" />
	<script src="<%=request.getContextPath() %>/resource/js/jquery-1.8.2.js" type="text/javascript" charset="utf-8"></script>
	<script src="<%=request.getContextPath() %>/resource/js/ske-constants.js" type="text/javascript" charset="utf-8"></script>
	<script src="<%=request.getContextPath() %>/resource/js/ske-common.js" type="text/javascript" charset="utf-8"></script>
	<script src="<%=request.getContextPath() %>/resource/js/blog/ske-blog-index.js" type="text/javascript" charset="utf-8"></script>
</head>
<body> 
	<div class="common-width-all body-head-bg">
		<div class="common-width-center index-head">
			<div class="common-width-center head-top">
				<div id="logo" class="head-top fleft"></div>
				<div class="head-top fright">
					<div class="head-top fleft">
						<a href="" class="label animate-bgcolor-slow fleft">我的首页</a>
						<a href="" class="label animate-bgcolor-slow fleft">精选</a>
						<a href="" class="label animate-bgcolor-slow fleft">推荐</a>
						<a href="" class="label animate-bgcolor-slow fleft">发现</a>
						<a href="" class="label animate-bgcolor-slow fleft">活动</a>
						<a href="" class="label animate-bgcolor-slow fleft">消息</a>
					</div>
					<div class="head-top account fleft">
						<div class="image fleft">
							<img id="head-top-image" alt="" src="../resource/images/30/head-default.gif">
						</div>
						<div class="name fleft">
						<%
							String name = ud.getUserNickname();
							if(name.length() > 8) {
								name = name.substring(0,6) + "...";
							}
							out.println(name);
						%>
						</div>
						<div class="more fleft"></div>
						<div class="cboth"></div>
					</div>
					<div class="cboth"></div>
				</div>
				<div class="cboth"></div>
			</div>
			<div class="common-width-center">
				<div class="head-bottom fleft">
					<a href="" class="image fleft" title="skeleton">
						<img id="head-bottom-image" alt="" src="../resource/images/180/head-default.gif">
					</a>
					<a href="<%=request.getContextPath() %>/blog/write" class="label animate-bgcolor-fast fleft">
						<span id="head-bottom-image-1" class="span"></span>
					</a>
					<a href="" class="label animate-bgcolor-fast fleft">
						<span id="head-bottom-image-2" class="span"></span>
					</a>
					<a href="" class="label animate-bgcolor-fast fleft">
						<span id="head-bottom-image-3" class="span"></span>
					</a>
					<a href="" class="label animate-bgcolor-fast fleft">
						<span id="head-bottom-image-4" class="span"></span>
					</a>
				</div>
				<div class="head-bottom fleft">
					<div class="head-bottom-search">
						<div class="search">
							<div class="fleft"><input type="text" value="搜索"/></div>
							<div class="fleft"><input type="button"/></div>
							<div class="cboth"></div>
						</div>
					</div>
				</div>
				<div class="cboth"></div>
			</div>
		</div>
	</div>
	<div class="index-center common-width-center">
		<div class="common-width-center-left fleft">
			<div id="blog-list">
			
			</div>
			<div>
				<a href="javascript: ajaxGetBlogArticle()">加载更多</a>
			</div>
		</div>
		<div class="index-right common-width-center-right fleft">
			<div class="tip">
				<div class="title fleft">首页测试</div>
				<div class="closs fright">
					<a href="">x</a>
				</div>
				<div class="cboth"></div>
				<div class="content">首页测试首页测试首页测试首页测试首页测试首页测试首页测试首页测试首页测试首页测试首页测试首页测试首页测试首页测试首页测试首页测试</div>
			</div>
			<div class="tip">
				<div class="title fleft">首页测试</div>
				<div class="closs fright">
					<a href="">x</a>
				</div>
				<div class="cboth"></div>
				<div class="content">首页测试首页测试首页测试首页测试</div>
			</div>
		</div>
		<div class="cboth"></div>
	</div>
	<jsp:include page="../../include/bottom.jsp"></jsp:include>
	<div class="gotop">
		<a href=""></a>
	</div>
</body>
</html>